package cc.rengu.redp.flowable.bizmodel.metadata;

import cc.rengu.redp.flowable.bizmodel.db.domain.BizCfgModel;
import cc.rengu.redp.system.domain.User;
import com.alibaba.fastjson.JSONObject;

public interface ModelHandler {

    void create(JSONObject srcJsonObj, BizCfgModel bizCfgModel);

    boolean modelAuth(BizCfgModel bizCfgModel, User user);
}
